<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>{$title}</title>
        
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="{$description}">
        <meta name="author" content="{$author}">
        <meta property="wb:webmaster" content="cc95ed7fc79b6662" />
        <meta property="qc:admins" content="21407423671651631611006375" />
        <meta name="baidu-tc-verification" content="195452c64a2c019d143470c012cc73a5" />
        <!-- Le styles -->
        <link href="../Public/css/bootstrap.min.css" rel="stylesheet">
        <link href="../Public/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="../Public/css/style.css" rel="stylesheet">
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

        <script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
        <script type="text/javascript" src="../Public/js/cookie.js"></script>
        <script type="text/javascript">

            $(document).ready(function(){
                
                $.get("/weather?pinyin=guangzhou", function(data){
                    var ggg = $(data).find("current_conditions").find("temp_c").attr('data');//读取节点属性 温度
//                    $(data).find("current_conditions").each(function() {
//                        var field = $(this);
//                        var temp_c = field.find("temp_c").attr('data');//读取节点属性 温度
////                        var dataType = field.find("datatype").text();//读取子节点的值
////                        console.log(field);
//                        console.log(temp_c);
//                     });
                     
                   
                });

            });
        </script>
        
    </head>

    <body data-spy="scroll" data-target=".subnav" data-offset="50">

        <div class="container">
            <div class="row">
                <div class="span12 top">
                    <div class="span2" style="text-align: left">{$city} [切换城市]</div><div class="span3 offset6"> <a href="/quwanma.apk">安卓版</a> | <a href="/profile/login">登录</a> | <a href="/profile/register">免费注册</a> | <a href="/help">帮助</a></div>
                </div>
            </div>

            <div id="header">

                <section id="logo">   
                    <div class="page-header">
                        <div class="row">
                            <div class="span4">
                                <h1>去玩吗？</h1>
                            </div>
                            <div class="span6">
                          <a href="../oauthshow/?type=qq"><img src="../Public/img/qq_logo.png"></a><a href="../oauthshow/?type=weibo"><img src="../Public/img/weibo_logo.png"></a>
                            </div>
                            
                            <div class="span2">
                                <a href="#" class="btn  btn-large  btn-success"><i class="icon-pencil icon-white"></i>发布活动</a>
                            </div>
                        </div>

                    </div>
                </section>

            </div>

            <section id="forms">
                <div class="row ">

                    <div class="span12">

                        <div class="navbar">
                            <div class="navbar-inner">
                                <div class="container">
                                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                                        <span class="icon-bar"></span>
                                        <span class="icon-bar"></span>
                                        <span class="icon-bar"></span>
                                    </a>
                                    <a class="brand" href="#">帮助中心</a>
                                    <div class="nav-collapse">
                                        <ul class="nav">
                                            <li class="active"><a href="#">网站信息</a></li>
                                            <li><a href="#">开发帮助</a></li>
                                            <li><a href="#">Link</a></li>
                                            <li><a href="#">Link</a></li>
                                            <li class="dropdown">
                                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                                                <ul class="dropdown-menu">
                                                    <li><a href="#">Action</a></li>
                                                    <li><a href="#">Another action</a></li>
                                                    <li><a href="#">Something else here</a></li>
                                                    <li class="divider"></li>
                                                    <li class="nav-header">Nav header</li>
                                                    <li><a href="#">Separated link</a></li>
                                                    <li><a href="#">One more separated link</a></li>
                                                </ul>
                                            </li>
                                        </ul>
                                        <form class="navbar-search pull-left" action="">
                                            <input type="text" class="search-query span2" placeholder="Search">
                                            <input type="hidden" value="317e17e915ba1431bb26c4613efd66dd_69ad98011dbacb2c63233e9d0d52aeb8" name="__hash__"></form>
                                        <ul class="nav pull-right">
                                            <li><a href="#">Link</a></li>
                                            <li class="divider-vertical"></li>
                                            <li class="dropdown">
                                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                                                <ul class="dropdown-menu">
                                                    <li><a href="#">Action</a></li>
                                                    <li><a href="#">Another action</a></li>
                                                    <li><a href="#">Something else here</a></li>
                                                    <li class="divider"></li>
                                                    <li><a href="#">Separated link</a></li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </div><!-- /.nav-collapse -->
                                </div>
                            </div><!-- /navbar-inner -->
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="span9">
                        <div class="row">
                            <volist name="categorys" id="categoty">
                                <div class="well span2" style="float: left;padding: 8px 0;" >
                                    <ul class="nav nav-list" > 
                                        <volist name="categoty['value']" id="sub" key="k">
                                            <li <if condition="$k eq '1' ">class="active"</if>><a href="{:U("categroy/$sub")}">{$sub}</a></li> 
                                        </volist>
                                    </ul>
                                </div>

                            </volist>
                        </div>

                    </div>
                    <div class="span3">

                        <div style="padding: 8px 0;" class="well">
                            <ul class="nav nav-list">
                                <li class="active"><a>最新通知</a></li>
                                {:W('Articles')}
                            </ul>
                        </div>

                    </div>


                </div>

            </section>

            <!-- Footer
             ================================================== -->
            <footer class="footer">
                <p class="pull-right"><a href="#">返回顶部</a></p>
                <p>©2011-2012 去玩吗？<a href="http://weibo.com/33kuai" target="_blank">去玩吗新浪微博</a> | 关于去玩吗 | 开放API | 意见反馈 | 联系我</p>
            </footer>

        </div><!-- /container -->

    </body>
</html>
